package com.hiultra.archive.domain.vo;

import com.hiultra.archive.domain.ArcBox;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 【请填写功能名称】对象 arc_archive_records
 *
 * @author ruoyi
 * @date 2024-07-15
 */
public class ArchiveBoxIllegalRecordsReportVo {
    private static final long serialVersionUID = 1L;

    /**
     * 供电单位编号
     */
    private String orgNo;

    /**
     * 档案室编号
     */
    @Excel(name = "档案室编号")
    private String roomNo;

    /**
     * 告警时间
     */
    @Excel(name = "告警时间")
    private String alarmTime;

    /**
     * 档案盒集合
     */
    @Excel(name = "档案盒集合")
    private List<ArchiveBox> boxList;

    public List<ArchiveBox> getBoxList() {
        return boxList;
    }

    public void setBoxList(List<ArchiveBox> boxList) {
        this.boxList = boxList;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }

    public String getOrgNo() {
        return orgNo;
    }

    public void setRoomNo(String roomNo) {
        this.roomNo = roomNo;
    }

    public String getRoomNo() {
        return roomNo;
    }

    public void setAlarmTime(String alarmTime) {
        this.alarmTime = alarmTime;
    }

    public String getAlarmTime() {
        return alarmTime;
    }

    public static class ArchiveBox {
        private String boxNo;
        private String boxId;

        public String getBoxId() {
            return boxId;
        }

        public void setBoxId(String boxId) {
            this.boxId = boxId;
        }

        public String getBoxNo() {
            return boxNo;
        }

        public void setBoxNo(String boxNo) {
            this.boxNo = boxNo;
        }
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("orgNo", getOrgNo())
                .append("roomNo", getRoomNo())
                .append("alarmTime", getAlarmTime())
                .toString();
    }
}
